package com.hs.carrental.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lyy
 * @since 2021-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Store implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 门店Id
     */
    @TableId(value = "storeId", type = IdType.AUTO)
    private Integer storeId;

    /**
     * 门店名称
     */
    private String store;

    /**
     * 门店地址
     */
    @TableField("storeAddress")
    private String storeAddress;

    /**
     * 门店电话
     */
    @TableField("storePhone")
    private String storePhone;

    /**
     * 创建日期
     */
    @TableField("storeDate")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime storeDate;

    /**
     * 店长
     */
    @TableField("shopOwner")
    private String shopOwner;

    /**
     * 门店图片
     */
    @TableField("storeImageList")
    private String storeImageList;


}
